import { ref } from'vue';
import type { MemberAddress } from './../../types/MemberAddress.d';
import { defineStore } from "pinia";

export const useAddressStore = defineStore('address',()=>{
  const selectAddress = ref<MemberAddress>()

  const changeSelectAddress = (val: MemberAddress) => {
    selectAddress.value = val;
  }

  return {
    selectAddress,
    changeSelectAddress,
  }
})